public class Ticket {
    private static Ticket=new Ticket();

    private int a=0;

    private Ticket(){
        for (int i = 0; i >=1000 ; i++) {
            a++;
        }
        System.out.println(a);

    }

    public static Ticket getNextTicketNumber(){

        return t;
    }

}
